package main

import "fmt"

var global int

func varScope2() {
	var local1, loacl2 int

	local1 = 8
	loacl2 = 10
	global = local1 + loacl2

	fmt.Printf("local1 = %d,local2 = %d,global = %d\n", local1, loacl2, global)
}
